Head
definition
- The HEAD section of the script file contains default properties assigned to the tree structure.
- These properties will be assigned either to the whole tree or by menu level.
- A default global property is defined by its name and a list of values; values are separated by a comma.
eg: <PropertyName> PropertyValue1, PropertyValue2, ..., PropertyValueN
In the above example, <PropertyName> is the name of the property. It is followed by a list of values where:
- PropertyValue1 will be assigned to all nodes (links or menus) concerned by this parameter, that are located at the level 1 (the main menu)
- PropertyValue2 will be assigned to all nodes (links or menus) concerned by this parameter, that are located at the level 2 (the first level of sub-menus)
- PropertyValueN will be assigned to all nodes (links or menus) concerned by this parameter, that are located at the level N (the N-1 level of sub-menus)
- Properties may have two different behaviors:
- NO INHERITANCE: a property value of level N is strictly assigned to items of level N
- INHERITANCE: a property value of level N is assigned to items of level N, level N+1, level N+2, and so on, if NO property values have been assigned to the level N+1, level N+2, ... In other terms, items of level upper than level N inherit from the property value assigned to level N
- Three kinds of default global properties can be used to customize links and menus: